/*! Vertex Buffer Direct3D 11 Implementation

@author Sergio J. de los Santos
*/

#ifndef __VERTEXBUFFER_HEADER__
#define __VERTEXBUFFER_HEADER__

//! Implementacion para Direct3D11 de los Vertex Buffer
class VertexBufferD3D11 
{
public:
	VertexBufferD3D11(ID3D11Device* pd3dDevice);
	virtual ~VertexBufferD3D11();

	// Para Obtener la info del Stream
	bool Create(int vertexSize, int vertexCount, const void* pVertices);
	bool Destroy();

	ID3D11Buffer*		GetStream()				{ return m_pVB;			}
	D3D11_BUFFER_DESC	GetDescD3d11() const	{ return m_descBuffer;	}

private:
	ID3D11Device*					m_pd3dDevice;
	ID3D11Buffer*					m_pVB; 
	D3D11_BUFFER_DESC				m_descBuffer;

};

#endif